package com.campus.course.service;

import com.campus.common.result.Result;
import com.campus.course.dto.entity.CourseRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.course.dto.vo.CourseStudentsListVO;

import java.util.List;

/**
 * <p>
 * 选课记录表 服务类
 * </p>
 *
 * @author maojr
 * @since 2024-11-16
 */
public interface ICourseRecordsService extends IService<CourseRecords> {
    Result stuChooseCourse(int courseId);

    Result stuCancelCourse(int courseId);

    /**
     * 获取某个课程的学生名单
     */
    List<CourseStudentsListVO> courseStudentList(Integer courseId);
}
